package com.service.khqy;

import com.bpms.common.CommonUtil;
import com.bpms.common.Dict;
import com.bpms.common.VO;
import com.bpms.esb.IService;

public class Getquerytype implements IService {

	public VO exec(VO arg0) {
		VO v = new VO();
		try{
			String querytype0=Dict.getValue("QUERYTYPE","0" );
			String querytype1=Dict.getValue("QUERYTYPE","1" );
			String querytype2=Dict.getValue("QUERYTYPE","2" );
			v.setAttr("querytype0", querytype0);
			v.setAttr("querytype1", querytype1);
			v.setAttr("querytype2", querytype2);
			
			v.setAttr("result", "1");
			v.setAttr("msg", "获取查询类型成功");
		}catch (Exception e) {
			CommonUtil.debug("Getquerytype exception", e);
			
			v.setAttr("result", "9999");
			v.setAttr("msg", "获取查询类型失败");
		}
		
		return v;
	}

}
